﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>店铺装修页面</title>
     {$linkcss/}

    <script src="../Skin/CommStyle/js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="Js/common.js" type="text/javascript"></script>
    <script src="Js/Ajax.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
    
        //产品排行榜的切换
        function CutRank(tag) {
            var ShopID = document.getElementById("HiddenShopID").value; //店铺的ID号

            var SeeWay = "";
            var AllTag = "";
            var ColumnTag = "HomePage";
            if (request("ColumnTag") != null && request("ColumnTag") != "") {
                ColumnTag = request("ColumnTag");
            }
            var SeeWay = "";
            var strCss = "";
            var cssID = 0;
            if (request("SeeWay") != null) {
                if (request("SeeWay") == "Issue") {
                    SeeWay = "&SeeWay=Issue";
                }
            }
            if (request("cssID") != null) {
                try {
                    cssID = parseInt(request("cssID"));
                }
                catch (Error) {
                    cssID = 0;
                }
            }
            if (cssID > 0) {
                strCss = "&cssID=" + cssID;
            }
            window.location.href = "ShopEdit.aspx?ShopID=" + ShopID + "&ColumnTag=" + ColumnTag + "" + SeeWay + "" + strCss + "&RankTag=" + tag;
        }

        /****搜索店内产品*******/

        function SearchProduct(Keyword, Price1, Price2) {

            var ShopID = document.getElementById("HiddenShopID").value; //店铺的ID号

            var KeyPrice1 = document.getElementById(Price1).value;
            var KeyPrice2 = document.getElementById(Price2).value;

            var KeywordBox = document.getElementById(Keyword).value;

            var SeeWay = "";
            var strCss = "";
            var cssID = 0;

            if (request("SeeWay") != null) {
                if (request("SeeWay") == "Issue") {
                    SeeWay = "&SeeWay=Issue";
                }
            }

            if (request("cssID") != null) {
                try {
                    cssID = parseInt(request("cssID"));
                }
                catch (Error) {
                    cssID = 0;
                }
            }
            if (cssID > 0) {
                strCss = "&cssID=" + cssID;
            }

            if (isNaN(KeyPrice1) || KeyPrice1 < 0) {
                alert('价格输入有误！');
                return false;
            }
            if (isNaN(KeyPrice2) || KeyPrice2 < 0) {
                alert('价格输入有误！');
                return false;
            }

            if (parseFloat(KeyPrice1) > parseFloat(KeyPrice2)) {
                alert('输入第一个价格不能大于第二个价格！');
                return false;
            } 
            window.location.href = "ShopEdit.aspx?ShopID=" + ShopID + "&ColumnTag=ProductList" + SeeWay + "" + strCss + "&KeyPrice1=" + KeyPrice1 + "&KeyPrice2=" + KeyPrice2 + "&SearchKey=" + escape(KeywordBox) + "";
        }


        /****搜索店内产品*******/
    
    </script>
</head>
<body id="BodyHtml" onload="LoadShoplogoBackground()">
   <form id="formEdit" runat="server">
 <div id="page">
    	<div id="ds-toolbar">
    	<div class="clear">
			<div class="ds-logo tb-logo">
                <a class="tb" href="#"><span>店铺装修平台</span></a> 
            </div>
    		<div class="ds-logo menu-select">
    			<a href="#"><span>店铺装修平台</span></a>
		    </div>
    		<ul class="ds-nav">
<!--    			<li class="edit menu-select">
    				<a href="#" onclick="dianji()">编辑<i></i></a>
    				<div class="menu-select-popup">
    					<div class="wrap clear">
                            <div class="custom">
    							<strong>店铺基础页</strong>

                        </div>
    				</div>

    			<li>-->
    				<a href="Super_theme.aspx?ShopID={$ShopID}&cssID={$CSSID}">模板</a>
    			</li>
				
				
				<li style= "width:400px; height:17px; position:relative; left:100px">
				   <div id="J_DSMsg" style=" text-align:center;background-color:White; color:Black; width:100px; font-size:18px; font-weight:bold; display:none">
    		           操作成功~
    	            </div>
				</li>
				
    		</ul>
    		<ul class="ds-confirm">
				<li class="nick">{$UserName}</li>
			    	<li class="release">
    				   <a href="javascript:showProc('IssueOK')" id="J_TRelease">发布</a> 
    				</li>
				   <li class="preview">
    				<a href="ShopIndex.aspx?ShopID={$ShopID}&ColumnTag=HomePage&cssID={$CSSID}&SeeWay=Issue" target="_blank">预览</a>
    			  </li>

				<li class="myshop"><a href="ShopIndex.aspx?ShopID={$ShopID}" target="_blank" title="查看我的店铺">查看店铺</a></li>
				
			</ul>
    	</div>
    	
    </div>
												
                <div id="speed-tips">
            <div class="wrap" id="J_SpeedTips" style="right: -60px;">
                <b class="icon slow-a"></b>
            </div>
        </div>
                    						
				<div id="header" class="w950">

					<table style=" margin-bottom:5px; margin-top:5px">
					   <tr>
					      <td style="width:190px; height:60px">
					          <div id="logo-image" style="width:190px; height:60px;">
					              {$HiddenLogo/}
					          </div>
                            </td>
					      <td>
					         <div style="text-align:right;width:760px;">
                                 <img alt="" src="../Store/images/EnableSeach.png" />
                              </div>
					      </td>
					   </tr>
					</table>
            	</div>
			            
            
    <!-- Body -->
    <div id="content" class="eshop head-expand tb-shop ">

	<div class="layout grid-m" >
		<div class="col-main" id="navColumn" >
			<div class="main-wrap J_TRegion" data-modules="main" data-width="h950">
				<div class="box J_TBox" >

<div class="shop-header" id="shopbiaozhi">
   <div id="shopheader" style="filter:Alpha(opacity=30);width:100%; height:150px; text-align:right; background-color:Black; display:none">
        <a style="background-color:#000000;color:White; font-weight:bold" alt="编辑" onclick="showProc('Background')" href="#">编辑</a>
   </div>
   
<table style=" margin-left:20px; margin-top:28px">
   <tr>
      <td>
          <img id="dianbiaoImg" src="" width="80px" height="78px"; style=" display:none" alt=""/>
      </td>
      
      <td class="shop-title">
         <h2 id="ShopTitle" style=" margin-left:7px; display:none"></h2>
      </td>
   </tr>
   
</table>


<div class="nav">
<ul>
<li class="current" title="首页">
<a href="#"  title="首页"><em>首页</em></a>
</li>

 <li><a href="#" ><em>信用评价</em></a></li>
 
 
 <li class="" title="左右栏自定义页">
<a href="#"  title="产品"><em>产品</em></a>
</li>
 
<li class="" title="交流区">
<a href="#"  title="交流区"><em>交流区</em></a>
</li>

 <li class="" title="店铺介绍">
<a href="ShopEdit.aspx?ShopID={$ShopID}&ColumnTag=ShopInfo"  title="店铺介绍"><em>店铺介绍</em></a>
</li>
</ul>
</div>

</div>
</div> 

</div>
	    </div>
 
    </div>
    <div id="bd">
    
<div class="layout grid-s5m0 "  data-prototypeid="2" data-id="1829911934">
    <div class="col-main clearfix">
        <div class="main-wrap J_TRegion"  data-modules="main" data-width="b750" >
            <!--掌柜推荐searchURL:  -->
<div class="box J_TBox" data-id="1829911940" data-prototypeid="11" data-uri="http://i.taobao.com/seller_admin-407.htm?nekot=zf65utChwt4=1295240848085&inBody=true" data-istarget="1" data-callback="" data-ismove="1" data-isdel="1" data-isedit="1" data-width="" data-context="b550-b750-b950-b903157320-b717171676-b2043173784-b391938814-b1466464714-b1770341157-b1987229294-b595657223-b26728749-b2064747683-b2067487732-b613435251-b420025101-b328582400-b391938814">
<div class="shop-recommend" id="ShopRecommend">
<div class="hd">
<h3><span>掌柜推荐宝贝</span></h3>
</div>
<div class="bd">
<div  class="grid">
{$RecommendationList/}
                                        <p class="more-items">
                                            <a href='ShopEdit.aspx?ShopID={$ShopID}&ColumnTag=ProductList'
                                                class="button">所有宝贝</a>
                                        </p>
</div>
</div>
</div>
</div>


<div class="box J_TBox" >
<div class="shop-display" id="ShopProductList">
<div class="hd">
<h3><span>产品列表</span></h3>
</div>
<div class="bd">
<div class="grid"  >
<ul class="shop-list">


<!--<li>
<div class="item">
<div class="pic">
<a target="_blank" href="#">
  <img src="images/ProductImage2.jpg" />
</a>
</div>
<div class="desc">
<a target="_blank" href="#" class="permalink"> 春秋男装小V領修身单穿 </a>
</div>
<div class="price">
<div class="now">
<span>一口价</span>
<strong>400.00元</strong></div>

</div>
<div class="sales-amount">最近30天售出<em>100</em>笔
</div>
</div>
</li>-->
</ul>
<p class="more-items">
<a href="#" class="button">更多宝贝</a>
</p>
</div>
</div>
</div>
</div>


<div class="box J_TBox" data-id="1829911944">
<div class="shop-display" id="Shopbbs">
<div class="hd">
<h3><span>店铺交流区</span></h3>
<div class="handle">
<a href="#">我要发帖</a>
<a href="#">全部帖子</a>
</div>
</div>
<div class="bd" >
<table>
<tbody>
</tbody>
</table>
</div>
</div>
</div>


   </div>
</div>
    <div class="col-sub J_TRegion"  data-modules="sub" data-width="b190" >

<!--搜索店内宝贝 begin-->
<div class="box J_TBox" >
    <div class="shop-search" id="shopSearch">
        <div class="hd">
            <h3><span>搜索店内宝贝</span></h3>
        </div>
        <div class="bd">
            <div class="search-form">
                <ul>
                    <li class="keyword">
                    <label for="keyword">关键字：</label>
                    <input type="text" size="18" class="J_SEKeyword" name="keyword" id="KeywordBox" value="" />
                    </li>
                    <li class="price">
                    <label for="price">价格：</label>
                    <span>
                    <input id="price1" type="text" name="price1" class="price J_CheckInput J_SEprice1" size="4" value="" />
                    到
                    <input id="price2" name="price2" class="price J_CheckInput J_SEprice2" type="text" size="4" value="" />
                    </span>
                    </li>
                    <li class="submit"><button type="button" class="button" onclick="SearchProduct('KeywordBox','price1','price2')">搜索</button></li>
                </ul>
            </div>
            {$PopularSearch/}
        </div>
    </div>
</div>
<!--搜索店内宝贝 end-->

<!--友情链接 begin-->
<div class="box J_TBox" >
    <div class="shop-links" id="Friendlinks">
        <div class="hd">
            <h3><span>友情链接</span></h3>
        </div>
        <div class="bd">
           <ul>{$ReFriendLink/}</ul>
        </div>
    </div>
</div>
<!--友情链接 end-->

<div class="box J_TBox">
<div class="shop-category" id="ShopCategory">
<div class="hd">
<h3><span>宝贝分类</span></h3>
</div>
<div class="bd">

</div>
</div>
</div>

<!--宝贝排行榜 begin-->
<div class="box J_TBox">
    <div class="shop-rank" id="ShopRank">
    <div class="hd">
        <h3><span>{$ProductRankName/}</span></h3>
    </div>
    <div class="bd">
        <div id="J_ranktab"  class="rank-tab J_TWidget" data-widget-type="Tabs" data-widget-config="{'navCls': 'tab-nav', 'contentCls': 'rank-panels', 'activeTriggerCls': 'selected','switchTo': 0 }">
            <ul class="tab-nav">
                <li id="MonthLi" class="selected" onclick="CutRank('topSelling')"><span>本月热销排行</span></li>
                <li id="CollectionLi" onclick="CutRank('topCollect')"><span>热门收藏排行</span></li>
            </ul>
        <div class="rank-panels">
            <div  class="rank-panel" >
                <ul>{$ReShopRankList/}</ul>
            </div>
        </div>
        </div>
    </div>
    </div>
</div>
<!--宝贝排行榜 end-->

    </div>
</div>
 
    </div>
    <div id="ft">
    
	<div class="layout grid-m"  data-prototypeid="11" data-id="1829911904">
		<div class="col-main">
			<div class="main-wrap J_TRegion" data-modules="main" data-width="f950">
				<div class="box J_TBox" data-id="1829911905" data-prototypeid="36" data-uri="/common/edit_module.htm?pageId=58345268&moduleId=1829911905&p=36&inFoot=true" data-callback="Custom" data-ismove="1" data-isdel="0" data-isedit="1" data-width="750px" data-context="f950">
<!--<div class="shop-custom no-border" id="ShopCustom">
<div class="hd">
<h3><span>店铺尾部</span></h3>
</div>
<div class="bd">
<div class="custom-area">

</div>
</div>
</div>-->
</div>
 
			</div>
	    </div>
    </div>
 
    </div>
 
    </div>
 
    <!-- 页尾 -->
			<div id="footer">

{HL.Label ID="网站底部标签" }
	
</div>
 
	</div>

<!-- 模块添加层内容 -->

 <div id="message_box" style="background-color:#DAE9FF; position:absolute;left:30%;top:20%;width:50%; height:500px; filter:dropshadow(color=#666666,offx=3,offy=3,positive=2);z-index:1000;visibility:hidden">
   <div id= "message" style=" width:100%; height:100%; font-size:12px; line-height:150%;">
    <!-- DIV弹出状态行：标题、关闭按钮 -->
    <div style="background:#74D0E9; height:7%;font-size:12px; color:#fff;">
     <span style="display:inline;width:150px;position:absolute;font-size:15px; margin-top:6px; margin-left:6px">编辑内容</span>
     <span onClick="closeProc();" style="float:right;display:inline;cursor:pointer;font-size:200%; margin-top:6px; margin-right:6px">×</span>
    </div>
        <iframe id="iFrame1" height="90%" scrolling="no" frameBorder= "0" width="100%" ></iframe>
   </div>
  </div>
  <!-- 店铺的ID和模块的ID号 -->
     {$Hiddendianbiao/}
     {$HiddenBackGroundImage/}
     {$HiddenShopTitle/}
     {$HiddenShowType/}
     
    {$HiddenShopID/}
  {$HiddenMouldID/}
  {$HiddenCssID/}
  <!-- 店铺的ID和模块的ID号 -->
  </form>
  <div id="mybg" style=" background-color:#000; width:100%; height:1200px; position:absolute; top:0px; left:0px; zIndex:500px;opacity:0.3; filter:Alpha(opacity=30); display:none">
  </div>
</body>
</html>
